From: Cosimo Cecchi Date: Thu, 13 Dec 2012 22:49:06 +0000 (-0500) Subject: overview: don't clone the whole message tray when layouting X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~5237 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=e89ce7358aad7acfd7cf60e350a188111a355bc2;p=gnome-shell.git overview: don't clone the whole message tray when layouting The message tray actor also includes notifications themselves. We want our ghost to be sized as the base part of the tray instead. Just make sure to use the same style class as the base actor then, as its height is specified by the CSS. https://bugzilla.gnome.org/show_bug.cgi?id=690174 --- diff --git a/js/ui/overview.js b/js/ui/overview.js index 40f4acfd8..5ece49d5c 100644 --- a/js/ui/overview.js +++ b/js/ui/overview.js @@ -243,7 +243,7 @@ const Overview = new Lang.Class({ expand: true }); // Then account for message tray - this._messageTrayGhost = new St.Bin({ child: new Clutter.Clone({ source: Main.messageTray.actor }), + this._messageTrayGhost = new St.Bin({ style_class: 'message-tray-summary', reactive: false, opacity: 0, x_fill: true,